#include "dialog.h"
#include "ui_dialog.h"

Dialog::Dialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::Dialog)
{
    ui->setupUi(this);
    connect(ui->sendButton,SIGNAL(clicked()),this,SLOT(pushDialogEmitButton()));
}

Dialog::~Dialog()
{
    delete ui;
}

void Dialog::pushDialogEmitButton() {
    QString s1 = ui->outputLineEdit->text();
    qDebug()<<"s1 "<<s1;
    emit dialogSetStr(s1);
    qDebug()<<"go ";
}
